Return to start page

AUnitClearBonus

Description

Sets units bonus of a specific property to 0. If bonus is set to 0 saved hash table data is cleared automatically. whichUnit Unit which should bonus cleared of. bonusType Property type which is used for adding bonus. Possible values are: A_BONUS_TYPE_DAMAGE A_BONUS_TYPE_ARMOR A_BONUS_TYPE_LIFE A_BONUS_TYPE_MANA A_BONUS_TYPE_SIGHT_RANGE A_BONUS_TYPE_MANA_REGENERATION A_BONUS_TYPE_LIFE_REGENERATION Returns if bonus was cleared successfully.

Source File

Systems/BonusMod/Library Bonus Mod.j

Library

ALibrarySystemsBonusModBonusMod

Scope

-

Private

No

Parameters

Return Type

boolean

Public

No

Native

No

Constant

No